package cn.liontalk.config;

import cn.liontalk.constant.SystemConstant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



@Configuration
public class QueueConfig {


    @Bean
    public Queue  createQueue(){
        return new Queue(SystemConstant.Hello_World_Queue);
    }

}
